package com.dubbo.bean;

import java.io.Serializable;

/**
 * @author by Mr. Li 2020/11/20 13:33
 */
public class Order implements Serializable {
    private Integer id;
    private String address;
    private String name;
    private String orderSn;

    public Order(Integer id, String address, String name, String orderSn) {
        this.id = id;
        this.address = address;
        this.name = name;
        this.orderSn = orderSn;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getOrderSn() {
        return orderSn;
    }

    public void setOrderSn(String orderSn) {
        this.orderSn = orderSn;
    }

    @Override
    public String toString() {
        return "Order{" +
                "id=" + id +
                ", address='" + address + '\'' +
                ", name='" + name + '\'' +
                ", orderSn='" + orderSn + '\'' +
                '}';
    }
}
